package com.hwn.datax.component;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.function.Consumer;
import java.util.function.Predicate;

/**
 * @author wnhuang
 * @date 2024/6/3 17:22
 */
@Data
@AllArgsConstructor
public class MenuItemData<T> {
    private  String menuText;

    private  Consumer<T> action;

    private Predicate<T> condition;


}
